home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Misc
/
Converter2.0
/
Source
/
Converter.h
< prev
next >
Wrap
Text File
|
1992-08-02
|
4KB
|
210 lines
/* Generated by Interface Builder */
#import <objc/Object.h>
/* This program contains 73 functions */
/* TEMPERATURE */
#define TEMP 1
#define CELSIUS 2
#define KELVIN 3
#define KELVINCELSIUS 4
/* Length */
#define CENTI 5
#define INCH 6
#define METER 7
#define FOOT 8
#define KILOMETER 9
#define MILE 10
#define NAUTICAL 11
#define KILOMNAUTICAL 12
#define YARDM 13
#define METERYARD 14
/* Area */
#define SCENTI 15
#define SINCH 16
#define ACRESFOOT 17
#define SFOOTACRE 18
#define SMETER 19
#define SFOOT 20
#define SYARDSMETER 21
#define SMETERSYARD 22
#define SMILESKILO 23
#define SKILOSMILE 24
#define HECTARE 25
#define ACRE 26
#define SMILEACRE 27
#define ACRESMILE 28
/* Volume (cubic) */
#define CINCHCMILL 29
#define CMILLCINCH 30
#define CINCHCCENTI 66 /* New function */
#define CCENTICINCH 67 /* New function */
#define CFOOTCMETER 31
#define CYARDCMETER 32
#define CMETERCYARD 33
/* Volume (liquid) */
#define FOUNCECMILL 34
#define FOUNCEMILLILITRES 35
#define TEACMILL 36
#define TABLECMILL 37
#define CUPCMETER 38
#define PINTCMETER 39
#define PINTLITRE 40
#define QUARTLITRE 41
#define QUARTCMETER 42
#define USQUARTLITRE 68 /*New Function */
#define LITREUSQUART 69 /* New Function */
#define GALLONCMETER 43
#define GALLONLITER 44
#define LITERGALLON 45
/* MASS */
#define OUNCEGRAM 46
#define GRAMOUNCE 47
#define POUNDGRAM 48
#define POUNDKILOGRAM 49
#define KILOGRAMPOUND 50
#define GRAMPOUND 51
#define MTONPOUND 52
#define POUNDMTON 53
/* FLOW */
#define LITRESPSUSGPM 54
#define USGPMLITRESPS 55
#define LITRESPSCFEETPM 56
#define CFEETPMLITRESPS 57
/* PRESSURE */
#define FEETWKPASCAL 58
#define KPASCALFEETW 59
#define POUNDSSIKPASCAL 60
#define KPASCALPOUNDSSI 71 /*New function */
/* Other */
#define HPWATTS 61
#define WATTSHP 70 /* New function */
#define BTUWATTS 62
#define BTUKILO 63
#define KNOTSMPS 64
#define REFTONBTUH 65
@interface Converter:Object
{
id outputForm;
id inputForm;
id Info; /* The Info panel */
id MoreInfo; /* The MoreInfo panel */
id formA;
id formB;
id formC;
id formD;
id formE;
id formF;
int calcType;
}
- init;
- calculate:sender;
- closeInfo:sender; /* Action button, closes the info panel and opens the MoreInfo panel */
- calcInterpol:sender;
/* TEMPERATURE */
- convertToTemp:sender;
- convertToCelsius:sender;
- convertToKelvin:sender;
- KelvinToCelsius:sender;
/* Length */
- convertToCenti:sender;
- convertToInch:sender;
- convertToMeter:sender;
- convertToFoot:sender;
- convertToYardm:sender;
- MeterToYard:sender;
- convertToKilometer:sender;
- convertToMile:sender;
- convertToNautical:sender;
- KilomToNautical:sender;
/* Area */
- convertToSCenti:sender;
- convertToSInch:sender;
- AcreToSFoot:sender;
- SFootToAcre:sender;
- convertToSMeter:sender;
- convertToSFoot:sender;
- convertToSYardSMeter:sender;
- SMeterToSYard:sender;
- convertToSMileSKilo:sender;
- SKiloToSMile:sender;
- convertToHectare:sender;
- convertToAcre:sender;
- SMileToAcre:sender;
- AcreToSMile:sender;
/* Volume (cubic) */
- convertToCInchCMill:sender;
- CMillToCInch:sender;
- CInchToCCenti:sender;
- CCentiToCInch:sender;
- convertToCFootCMeter:sender;
- convertToCYardCMeter:sender;
- CMeterToCYard:sender;
/* Volume (liquid) */
- convertToFOunceCMill:sender;
- FOunceToMillilitres:sender;
- convertToTeaCMill:sender;
- convertToTableCMill:sender;
- convertToCupCMeter:sender;
- convertToPintCMeter:sender;
- PintToLitre:sender;
- convertToQuartCMeter:sender;
- QuartToLitre:sender;
- USQuartToLitre:sender;
- LitreToUSQuart:sender;
- convertToGallonCMeter:sender;
- convertToGallonLiter:sender;
- convertToLiterGallon:sender;
/* MASS */
- convertToOunceGram:sender;
- convertToGramOunce:sender;
- convertToPoundGram:sender;
- convertToPoundKilogram:sender;
- convertToKilogramPound:sender;
- convertToGramPound:sender;
- convertToMTonPound:sender;
- convertToPoundMTon:sender;
/* FLOW */
- LitresPStoUSGPM:sender;
- USGPMToLitresPS:sender;
- LitresPSToCFeetPM:sender;
- CFeetPMToLitresPS:sender;
/* PRESSURE */
- FeetWToKPascal:sender;
- KPascalToFeetW:sender;
- PoundsSIToKPascal:sender;
- KPascalToPoundsSI:sender;
/* OTHER */
- convertToHpWatts:sender;
- WattsToHp:sender;
- BTUToWatts:sender;
- convertToBtuKilo:sender;
- convertToKnotsMps:sender;
- RefTonToBTUH:sender;
@end